//
//  Top.m
//  盘盈贷1.2
//
//  Created by iOS on 15/3/6.
//  Copyright (c) 2015年 iOS. All rights reserved.
//

#import "Top.h"

@implementation Top
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}
- (instancetype)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
        
        self.Type = [dic objectForKey:@"Type"];
        self.Deadline = [dic objectForKey:@"Deadline"];
        self.Amount = [[dic objectForKey:@"DBProduct"] objectForKey:@"Amount"];
        self.LoanRate = [dic objectForKey:@"LoanRate"];
        self.Limit = [dic objectForKey:@"Limit"];
        self.Operator = [dic objectForKey:@"Operator"];
        
    }
    return self;
}
@end
